package com.xd100.lzll.gm.util.server;

import java.util.Map;

@SuppressWarnings("rawtypes")
public interface DBObj<T> extends Cloneable {

	public Object getDBID();

	public T clone() throws CloneNotSupportedException;

	public byte[] toBytes();

	public void fromBytes(byte[] bytes);

	public String getPreKey();

	public Map getCacheUpdateMap();

	public Map getCacheDeleteMap();

	public Object getRelationID();

	public String getRelationKey();

}
